// define module name so it's simpler when concatenating
// all JS files into one
define('HomeView', [
	'jquery',
	'underscore',
	'backbone',
	'text!js/templates/home.html'
], function($, _, Backbone, tpl) {

	var View = Backbone.View.extend({
		initialize: function() {
			this.template = _.template(tpl);
		},

		render: function() {
			$(this.el).html(this.template);
			return this;
		}
	})
	
	return View;
});